﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;

namespace Model
{   // lavet af Morten Støchkel
    public class Product : IProduct 
    {
        private string _ProductNumber = "";
        private string _BrandCode = "";
        private string _AvailabilityLevel = "";
        private string _Category = "";
        private string _ProductStatus;
        private decimal _Price;
        private DateTime _LaunchDate;
        

        public Product(string productNumber, string brandCode, string availabilityLevel, string category, string productStatus, decimal price, DateTime launchDate)
        {
            _ProductNumber = productNumber;
            _BrandCode = brandCode;
            _AvailabilityLevel = availabilityLevel;
            _Category = category;
            _ProductStatus = productStatus;
            _Price = price;
            _LaunchDate = launchDate;
        }

        public string ProductNumber { get { return _ProductNumber; } set { _ProductNumber = value; } }
        public string BrandCode { get { return _BrandCode; } set { _BrandCode = value; } }
        public string AvailabilityLevel { get { return _AvailabilityLevel; } set { _AvailabilityLevel = value; } }
        public string Category { get { return _Category; } set { _Category = value; } }
        public string ProductStatus { get { return _ProductStatus; } set { _ProductStatus = value; } }
        public decimal Price { get { return _Price; } set { _Price = value; } }
        public DateTime LaunchDate { get { return _LaunchDate; } set { _LaunchDate = value; } }
    }
}
